package com.logic.landseaserver.persistence.read;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

import com.logic.landseaserver.domain.Expenses;
import com.logic.landseaserver.domain.MeterData;
import com.logic.landseaserver.ws.dto.MeterConsumptionDataDTO;
import com.logic.landseaserver.ws.request.RepairHydropoerDataReq;
import com.logic.landseaserver.ws.response.QueryConsNoListResp;
public interface MeterDataReadMapper {
    
    MeterData selectByPrimaryKey(Integer id);
    
    //查询需要鼎信电的房间号
    List<QueryConsNoListResp> queryConsNoList();
    
    Integer queryIdByParam(Integer aprtId, String usedDate, Integer meterType);
    
    List<MeterData> queryWrongList(RepairHydropoerDataReq req);
    
    MeterData queryRightUp(MeterData data);
    
    MeterData queryRightDown(MeterData data);
    
    List<MeterData> needRepairRoomList(RepairHydropoerDataReq req);
    
    //查询电量总量
    List<MeterConsumptionDataDTO> queryRoomAndConsumption(HashMap<String, Object> map);
    //查询入住天的电量
    MeterData queryInDayConsumption(int roomId,Date date);
    
    List<MeterData> selectCleanData();

    List<Expenses> selectExpensesData(String date);

    List<Integer> queryDxPrjList();

    List<Integer> queryDxRooms(Integer prjId);

    List<Expenses> selectExpensesDataByPrj(HashMap<String ,Object> map);

}